<template>
  <div id="app">
    <div class="app-loading" v-show="$store.state.loading"></div>
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
  .app-loading{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:1001;
    background:url('/static/images/loading.svg') no-repeat center;
  }
</style>
